<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>个人博客网新闻博客网站${title }</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/nprogress.css">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/style.css">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/font-awesome.min.css">
<!-- <link rel="stylesheet" type="text/css" href="https://mat1.gtimg.com/pingjs/ext2020/newom/build/static/css/index.css"> -->
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/index.css">
<link rel="apple-touch-icon-precomposed"
	href="../resources/home/images/icon.png">
<link rel="shortcut icon" href="../resources/home/images/favicon.ico">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/style.css">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/layer.css">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/other.css">
<link rel="stylesheet" type="text/css"
	href="../resources/home/css/validationEngine.jquery.css">


<script src="../resources/home/js/jquery-2.1.4.min.js"></script>
<script src="../resources/home/js/nprogress.js"></script>
<script src="../resources/home/js/jquery.lazyload.min.js"></script>
<script src="../resources/home/js/baseutil.js" type="text/javascript"></script>
<script src="../resources/home/js/aes.js" type="text/javascript"></script>
<script src="../resources/home/js/pad-zeropadding-min.js"
	type="text/javascript"></script>
<script src="../resources/home/js/layer.js" type="text/javascript"></script>
<script src="../resources/home/js/jquery.validationEngine.js"
	type="text/javascript"></script>
<script src="../resources/home/js/jquery.validationEngine-zh_CN.js"
	type="text/javascript"></script>

<script type="text/javascript" src="../resources/admin/easyui/easyui/1.3.4/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../resources/admin/easyui/easyui/1.3.4/locale/easyui-lang-zh_CN.js"></script>
<!--[if gte IE 9]>
  <script src="../resources/home/js/jquery-1.11.1.min.js" type="text/javascript"></script>
  <script src="../resources/home/js/html5shiv.min.js" type="text/javascript"></script>
  <script src="../resources/home/js/respond.min.js" type="text/javascript"></script>
  <script src="../resources/home/js/selectivizr-min.js" type="text/javascript"></script>
<![endif]-->
<script>
	function addFavorite(url, title) {
		try {
			window.external.addFavorite(url, title);
		} catch (e) {
			try {
				window.sidebar.addPanel(title, url, '');
			} catch (e) {
				alert("请按 Ctrl+D 键添加到收藏夹", 'notice');
			}
		}
	}
</script>
</head>
<body class="user-select">
	<header class="header">
		<nav class="navbar navbar-default" id="navbar">
			<div class="container" style="height: 150px;">
				<div class="header-topbar hidden-xs link-border">
					<c:if test="${not empty account}">
						<div id="loginWrap" class="loginWrap"
							style="margin-left: 30px; margin-top: 30px;">
							<div id="login" class="login clearfix" data-bosszone="dh_gr"
								data-bossirs="dh_gr">
								<div class="quickArea loginArea logined">
								<c:if test="${empty account.headImg}">
									<a href="../index/personal" target="_blank" title="【${account.username}】"> <img
										class="Face"
										src="//thirdqq.qlogo.cn/g?b=oidb&amp;k=zYpK6CZ45MyAupvUciblMqw&amp;s=100&amp;t=1585720804"
										id="userPic_s">
									</a>
									</c:if>
										<c:if test="${not empty account.headImg}">
									<a href="../index/personal" target="_blank" title="【${account.username}】"> <img
										class="Face"
										src="${account.headImg}"
										id="userPic_s">
									</a>
									</c:if>
									<div class="infoPop">
										<div class="nick">你好，【${account.username}】</div>
										<div class="line"></div>
										<a class="loginout" href="javascript:void 0"
											onclick="loginOut()">[退出登录]</a>
									</div>
								</div>
							</div>
						</div>
					</c:if>
					【个人博客网】做项目，我们是认真的！百闻不如一干！
				</div>
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed"
						data-toggle="collapse" data-target="#header-navbar"
						aria-expanded="false">
						<span class="sr-only"></span> <span class="icon-bar"></span> <span
							class="icon-bar"></span> <span class="icon-bar"></span>
					</button>
					<h1 class="logo hvr-bounce-in">
						<a href="/news/index/index" title="个人博客网新闻博客网站"><img
							src="../resources/home/images/logo.png" alt="个人博客网新闻博客网站"></a>
					</h1>
				</div>
				<div class="collapse navbar-collapse" id="header-navbar">
					<form class="navbar-form visible-xs" action="../news/search_list"
						method="get">
						<div class="input-group">
							<input type="text" name="keyword" class="form-control"
								placeholder="请输入关键字" maxlength="20" autocomplete="off"
								value="${keyword }"> <span class="input-group-btn">
								<button class="btn btn-default btn-search" name="search"
									type="submit">搜索</button>
							</span>
						</div>
					</form>
					<ul class="nav navbar-nav navbar-right">
						<li><a data-cont="个人博客网新闻博客网站" title="个人博客网新闻博客网站"
							href="/news/index/index">首页</a></li>
						<c:forEach items="${newsCategoryList }" var="newsCategory">
							<li><a data-cont="${newsCategory.name }"
								title="${newsCategory.name }"
								href="../news/category_list?cid=${newsCategory.id }">${newsCategory.name }</a></li>
						</c:forEach>
						<c:if test="${empty account}">
							<li><a style="color: blue;" data-cont="注册" title="注册"
								href="/news/index/register">注册</a></li>
							<li><a style="color: blue;" data-cont="登录" title="登录"
								href="/news/index/login">登录</a></li>
						</c:if>
					</ul>
				</div>
			</div>
		</nav>
		<script type="text/javascript">
 function loginOut(){
	 window.location.href="../index/homeLogout";
 }

</script>
	</header>
